﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddMsg.aspx.cs" Inherits="Messages.AddMsg" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="fly,layui,前端社区">
    <meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区，致力于为web开发提供强劲动力">
    <link href="res/layui/css/layui.css" rel="stylesheet" />
    <link href="res/AddMsg/res/css/global.css" rel="stylesheet" />
    <script src="res/layui/layui.js"></script>
    <script type="text/javascript">
        
        layui.cache.page = 'jie';
        layui.cache.user = {
            username: '游客',
            uid: -1,
            avatar: 'res/AddMsg/res/images/avatar/00.jpg',
            experience: 83,
            sex: '男'
        };
        layui.config({
            version: "3.0.0",
            base: 'res/AddMsg//res/mods/'
        }).extend({
            fly: 'index'
        }).use(['fly', 'face'], function () {
            var $ = layui.$,
                fly = layui.fly;
            //如果你是采用模版自带的编辑器，你需要开启以下语句来解析。
            $('.detail-body').each(function () {
                var othis = $(this),
                    html = othis.html();
                othis.html(fly.content(html));
            });

            });
    </script>
</head>
<body>
    <!-- 输入框 -->
    <div class="layui-container">
        <div class="layui-row layui-col-space15" style="width = 100%">
            <div class="layui-col-md8 content detail">
                <div class="fly-panel detail-box" id="flyReply">
                    <div class="layui-form layui-form-pane">
                        <form action="" method="post">
                            <div class="layui-form-item layui-form-text">
                                <a name="comment"></a>
                                <div class="layui-input-block">
                                    <textarea id="L_content" name="content" required lay-verify="required" placeholder="请输入内容2~500个字符" class="layui-textarea fly-editor"
                                        style="height: 150px;">
                                    </textarea>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <input type="hidden" name="jid" value="123">
                                <button class="layui-btn" lay-filter="*" lay-submit>提交留言</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
